|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of this interface provides support for managing commands at the
IWorkbench
level.
This interface is not intended to be extended or implemented by clients.
EXPERIMENTAL
IWorkbench#getAdaptable
Method Summary | |
void |
deregisterFromKeyBindings(Shell shell)
Deregisters the given shell from the global key bindings. |
void |
disableKeyFilter()
Disables the global key binding architecture. |
void |
enableKeyFilter()
Enables the global key binding architecture. |
ICommandManager |
getCommandManager()
Returns the command manager for the workbench. |
ICompoundCommandHandlerService |
getCompoundCommandHandlerService()
Returns the compound command handler service for the workbench. |
org.eclipse.ui.internal.keys.WorkbenchKeyboard |
getKeyboard()
An accessor for the keyboard interface this workbench is using. |
boolean |
isKeyFilterEnabled()
Tests whether the global key binding architecture is currently active. |
void |
registerForKeyBindings(Shell shell,
boolean dialogOnly)
Indicates that the given shell wishes to participate in
the global key binding architecture. |
Method Detail |
public void deregisterFromKeyBindings(Shell shell)
shell
from the global key bindings.
This is not strictly necessary (as the internal storage uses a weak hash
map), but is good for cleanliness.
shell
- The shell to deregister; may be null
.public void disableKeyFilter()
public void enableKeyFilter()
public ICommandManager getCommandManager()
null
.public ICompoundCommandHandlerService getCompoundCommandHandlerService()
null
.public org.eclipse.ui.internal.keys.WorkbenchKeyboard getKeyboard()
null
.public boolean isKeyFilterEnabled()
true
if the key bindings are active; false
otherwise.public void registerForKeyBindings(Shell shell, boolean dialogOnly)
shell
wishes to participate in
the global key binding architecture. This means that key and traversal
events might be intercepted before reaching any of the widgets on the
shell.
shell
- The shell to register for key bindings; may be null
.dialogOnly
- Whether the shell only wants the restricted set of key
bindings normally used in dialogs (e.g., text editing
commands). All workbench windows say false
here.
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |